<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@ include file="/base/jsp/include.jsp"%>
<script type="text/javascript">
	var id = '${id}';
	var grid;
	$(function() {
		grid = $('#grid').datagrid({
			url : sy.contextPath + '/shareVisitLog/list?id='+id,
			pagination : true,
			columns : [ [{
				width : $(this).width() * 0.3,
				title : '用户',
				field : 'userId',
				align : 'center'
			},{
				width : $(this).width() * 0.2,
				title : '访问时间',
				field : 'createTime',
				align : 'center'
			}
			]]
		});
	});
</script>
</head>
<body class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',fit:true,border:false">
		<table id="grid" data-options="fit:true,border:false"></table>
	</div>
</body>
</html>